accounts.email.accounts.<name>.smtp.port

The port on which the SMTP server listens. If null then the default port is used.

Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null
Example
465
Declared
<home-manager/modules/accounts/email.nix>